/* 初始化 */

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

img {
    max-width: 100%;
    max-height: 100%;
}


/* 原子类 */

.left {
    float: left;
}

.right {
    float: right;
}

.clearfloat::after,
.clearfloat::before {
    content: '';
    display: block;
    clear: both;
}


/* 头部导航区域 */

.header {
    width: 100%;
    height: 80px;
    border: 1px solid #808080;
    display: flex;
    justify-content: center;
}


/* logo图 */

.header .header_logo {
    width: 200px;
    height: 82px;
    /* border: 1px solid red; */
    text-align: center;
}

.header .header_logo img {
    width: 80px;
    height: 51px;
    margin-top: 10px;
}


/* 导航栏区域 */

.header .header_nav {
    width: 1018px;
    height: 82px;
    /* border: 1px solid red; */
}

.header .header_nav ul {
    width: 500px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}


/* .header .header_nav ul li:nth-child(2) {
    border-bottom: 1px solid #519F10;
} */

.header .header_nav ul li a {
    font-size: 16px;
    color: #878787;
}


/* 
.header .header_nav ul li:nth-child(2) a {
    font-size: 16px;
    color: #519F10;
} */


/* 用户图标区域 */

.header .header_icon {
    width: 224px;
    height: 82px;
    /* border: 1px solid red; */
    text-align: center;
    line-height: 82px;
}

.header .header_icon .icon-sousuo {
    font-size: 20px;
    color: #8D9095;
}

.header .header_icon .icon-yonghu {
    font-size: 25px;
    color: #8D9095;
}

.header .header_icon .icon-gouwuche {
    font-size: 20px;
    color: #8D9095;
}


/* 购物车功能页面 */

.shopcarbox {
    width: 1200px;
    height: 500px;
    margin: auto;
    margin-top: 40px;
}

.shoptop {
    width: 1200px;
    height: 60px;
    display: flex;
    border: 1px solid #88dfae;
}

.shoptop>div:nth-child(1) {
    width: 35px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 20px;
    color: #519f10;
}

.shoptop>div:nth-child(2) {
    width: 355px;
    height: 60px;
    line-height: 60px;
    margin-left: 20px;
    color: #519f10;
}

.shoptop>div:nth-child(3) {
    margin-left: auto;
    width: 100px;
    height: 40px;
    margin-top: 10px;
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
    background-color: #10ac62;
    color: white;
    font-size: 14px;
}

.shopbottom {
    display: flex;
    width: 1200px;
    height: 440px;
}

.shopbottomleft {
    width: 800px;
    height: 400px;
    border-right: 1px solid #f3f3f3;
    margin-top: 40px;
}

.shopbottomright {
    height: 400px;
    width: 400px;
    margin-top: 40px;
    margin-left: auto;
}

.title {
    width: 770px;
    height: 30px;
    border-bottom: 4px solid #f3f3f3;
    display: flex;
}

.shopname {
    width: 408px;
    height: 30px;
    padding-left: 10px;
}

.shopprice {
    width: 97px;
    height: 30px;
}

.shopnum {
    width: 175px;
    height: 30px;
}

.shopsum {
    width: 40px;
    height: 30px;
}

.showshopcar {
    width: 770px;
    height: 410px;
    overflow-y: scroll;
}

.showshopcar>div {
    height: 110px;
    width: 770px;
    border-bottom: 1px dotted #928796;
    display: flex;
}

.shopcarobj>div {
    height: 90px;
    line-height: 90px;
    margin-top: 10px;
}

.shopcarobj>div:nth-child(1) {
    width: 65px;
}

.shopcarobj>div:nth-child(2) {
    width: 90px;
}

.shopcarobj>div:nth-child(2) img {
    width: 100%;
    height: 100%;
}

.shopcarobj>div:nth-child(3) {
    width: 216px;
    padding-left: 40px;
    color: #519f10;
    font-size: 14px;
}

.shopcarobj>div:nth-child(4) {
    width: 95px;
}

.shopnuminput {
    width: 175px;
}

.shopnuminput input {
    width: 30px;
    height: 40px;
    text-align: center;
    border: 1px solid #f3f3f3;
}

.shopnuminput button {
    width: 30px;
    height: 40px;
    text-align: center;
    border: 1px solid #f3f3f3;
    background-color: white;
}

.sbrtop {
    height: 30px;
    width: 370px;
    border-bottom: 4px solid #f3f3f3;
    margin-left: 25px;
    line-height: 30px;
}

.shoppricesum {
    height: 100px;
    width: 370px;
    margin-left: 25px;
}

.shoppricesum>div {
    width: 100%;
}

.sumtext {
    font-size: 14px;
    color: #928796;
}

.sumright {
    margin-left: auto;
    font-size: 14px;
    color: #928796;
}

.xiaoji {
    height: 40px;
    line-height: 40px;
}

.yunfei {
    height: 20px;
    line-height: 20px;
    border-bottom: 1px solid #dddddd;
}

.zongji {
    height: 40px;
    line-height: 40px;
    border-bottom: 4px solid #f3f3f3;
}

.shopbottomright button {
    margin-top: 20px;
    margin-left: 25px;
    width: 370px;
    height: 40px;
    color: white;
    border: none;
    background-color: #519f10;
    line-height: 40px;
    text-align: center;
}

.youhuiquan {
    margin-top: 10px;
    width: 370px;
    margin-left: 25px;
    height: 40px;
    line-height: 40px;
    border-bottom: 4px solid #f3f3f3;
}

.shopbottomright>input {
    margin-left: 25px;
    width: 356px;
    height: 30px;
    margin-top: 10px;
    padding-left: 10px;
    border: 1px solid #dddddd;
}


/* foot 页脚 */

.foot {
    width: 100%;
    height: 279px;
    margin-top: 60px;
    /* border: 1px solid red; */
    border-top: 1px solid #808080;
}

.foot .foot_art {
    width: 100%;
    height: 233px;
    /* border: 1px solid green; */
    background-color: #f3f3f3;
}

.foot .foot_art .foot_content {
    width: 1190px;
    height: 193px;
    margin: auto;
    /* margin-top: 40px;
    margin-left: 170px; */
    /* border: 1px solid blue; */
    display: flex;
    justify-content: flex-start;
}

.foot .foot_art .foot_content .foot_contact {
    width: 258px;
    height: 150px;
    margin-top: 40px;
    /* border: 1px solid blue; */
}

.foot .foot_art .foot_content .foot_contact p:nth-child(1) {
    font-size: 26px;
    color: #666666;
    padding: 0 0 5px;
}

.foot .foot_art .foot_content .foot_contact p:nth-child(2) {
    font-size: 13px;
    color: #969696;
}

.foot .foot_art .foot_content .foot_our {
    width: 247px;
    height: 150px;
    margin-top: 40px;
    /* border: 1px solid blue; */
}

.foot .foot_art .foot_content .foot_our p {
    font-size: 16px;
    color: #5D5D5D;
    margin-bottom: 10px;
}

.foot .foot_art .foot_content .foot_our span {
    font-size: 26px;
}

.foot .foot_art .foot_content .foot_article {
    width: 406px;
    height: 150px;
    margin-top: 40px;
    /* border: 1px solid blue; */
}

.foot .foot_art .foot_content .foot_article p:nth-child(1) {
    font-size: 16px;
    color: #5D5D5D;
    padding: 0 0 12px;
}

.foot .foot_art .foot_content .foot_article p:nth-child(2) {
    font-size: 14px;
    color: #969696;
}

.foot .foot_art .foot_content .foot_article p:nth-child(3) {
    font-size: 14px;
    color: #969696;
}

.foot .foot_art .foot_content .foot_article p:nth-child(4) {
    font-size: 14px;
    color: #969696;
}

.foot .foot_art .foot_content .foot_erweima {
    width: 128px;
    height: 150px;
    margin-top: 40px;
    /* border: 1px solid blue; */
    text-align: center;
}

.foot .foot_art .foot_content .foot_erweima img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.foot .foot_art .foot_content .foot_erweima p {
    font-size: 14px;
    color: #000000;
}

.foot .foot_bottom {
    width: 1190px;
    height: 26px;
    /* border: 1px solid red; */
    /* margin-left: 170px;
    margin-top: 7px; */
    margin: auto;
    line-height: 26px;
}

.foot .foot_bottom {
    font-size: 12px;
    color: #808080;
}